package com.lc.railway.http.request;

import com.hjq.http.config.IRequestApi;

public class ApiDutyIndexApi implements IRequestApi {
    private String year;
    private String moon;
    private String day;
    private int page;

    public ApiDutyIndexApi setPage(int page) {
        this.page = page;
        return this;
    }

    public ApiDutyIndexApi setYear(String year) {
        this.year = year;
        return this;
    }

    public ApiDutyIndexApi setMoon(String moon) {
        this.moon = moon;
        return this;
    }

    public ApiDutyIndexApi setDay(String day) {
        this.day = day;
        return this;
    }

    @Override
    public String getApi() {
        return "api_duty/index";
    }
}
